package com.apexedu.biz.entity;

import javax.persistence.*;
import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * User: wangjian
 * Date: 13-12-30
 * Time: 下午6:05
 * To change this template use File | Settings | File Templates.
 */
@javax.persistence.Table(name = "T_SYS_USER_TEMP")
@Entity
public class TSysUserTempEntity implements Serializable {
    private String wid;
    private String userloginid;
    private String username;
    private String userpassword;
    private String state;
    private String usertype;
    private String clientappid;

    /**
     * 组织机构名称
     */
    private String orname;
    /**
     * 用户类型
     */
    private String yhlx;

    @javax.persistence.Column(name = "WID")
    @Id
    public String getWid() {
        return wid;
    }

    public void setWid(String wid) {
        this.wid = wid;
    }

    @javax.persistence.Column(name = "USERLOGINID")
    @Basic
    public String getUserloginid() {
        return userloginid;
    }

    public void setUserloginid(String userloginid) {
        this.userloginid = userloginid;
    }

    @javax.persistence.Column(name = "USERNAME")
    @Basic
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @javax.persistence.Column(name = "USERPASSWORD")
    @Basic
    public String getUserpassword() {
        return userpassword;
    }

    public void setUserpassword(String userpassword) {
        this.userpassword = userpassword;
    }

    @javax.persistence.Column(name = "STATE")
    @Basic
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @javax.persistence.Column(name = "USERTYPE")
    @Basic
    public String getUsertype() {
        return usertype;
    }

    @Column(name = "CLIENTAPPID")
    @Basic
    public void setUsertype(String usertype) {
        this.usertype = usertype;
    }

    public String getClientappid() {
        return clientappid;
    }

    public void setClientappid(String clientappid) {
        this.clientappid = clientappid;
    }

    @Transient
    public String getOrname() {
        return orname;
    }

    public void setOrname(String orname) {
        this.orname = orname;
    }

    @Transient
    public String getYhlx() {
        return yhlx;
    }

    public void setYhlx(String yhlx) {
        this.yhlx = yhlx;
    }
}
